package com.yedean.operator.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yedean.operator.entity.OperatorUser;
import com.yedean.utils.Result;

/**
 * @author yedean
 * @date 2022/9/14
 */
public interface IOperatorUserService extends IService<OperatorUser> {

    /**
     * 根据名字分页查询操作用户
     */
    IPage<OperatorUser> queryPageByName(int pageNum, int pageSize, String name);

    //登录
    Result login(String loginName, String loginPass);
}
